import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import {JVxeTypes,JVxeColumn} from '/@/components/jeecg/JVxeTable/types'
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  //  {
  //   title: '客户编码',
  //   align:"center",
  //   dataIndex: 'custCode'
  //  },
   {
    title: '出库单id',
    align:"center",
    dataIndex: 'stockoutId'
   },
   {
    title: '出单号',
    align:"center",
    dataIndex: 'orderNo'
   },
  //  {
  //   title: '系统订单编号',
  //   align:"center",
  //   dataIndex: 'srcOrderNo'
  //  },
  //  {
  //   title: '仓库编号',
  //   align:"center",
  //   dataIndex: 'warehouseNo'
  //  },
  //  {
  //   title: '仓库名称',
  //   align:"center",
  //   dataIndex: 'warehouseName'
  //  },
   {
    title: '发货时间',
    align:"center",
    dataIndex: 'consignTime'
   },
  //  {
  //   title: '源单据类别',
  //   align:"center",
  //   dataIndex: 'orderType'
  //  },
   {
    title: '货品数量',
    align:"center",
    dataIndex: 'goodsCount'
   },
  //  {
  //   title: '物流单号',
  //   align:"center",
  //   dataIndex: 'logisticsNo'
  //  },
  //  {
  //   title: 'receiverName',
  //   align:"center",
  //   dataIndex: 'receiverName'
  //  },
  //  {
  //   title: '国家',
  //   align:"center",
  //   dataIndex: 'receiverCountry'
  //  },
  //  {
  //   title: '省份ID',
  //   align:"center",
  //   dataIndex: 'receiverProvince'
  //  },
  //  {
  //   title: '城市ID',
  //   align:"center",
  //   dataIndex: 'receiverCity'
  //  },
  //  {
  //   title: '地区ID',
  //   align:"center",
  //   dataIndex: 'receiverDistrict'
  //  },
  //  {
  //   title: '地址',
  //   align:"center",
  //   dataIndex: 'receiverAddress'
  //  },
  //  {
  //   title: '收件人手机',
  //   align:"center",
  //   dataIndex: 'receiverMobile'
  //  },
  //  {
  //   title: '收件人固话',
  //   align:"center",
  //   dataIndex: 'receiverTelno'
  //  },
  //  {
  //   title: '收件人邮编',
  //   align:"center",
  //   dataIndex: 'receiverZip'
  //  },
   {
    title: '省市区',
    align:"center",
    dataIndex: 'receiverArea'
   },
  //  {
  //   title: '备注',
  //   align:"center",
  //   dataIndex: 'remark'
  //  },
  //  {
  //   title: '重量',
  //   align:"center",
  //   dataIndex: 'weight'
  //  },
  //  {
  //   title: '截停原因',
  //   align:"center",
  //   dataIndex: 'blockReason'
  //  },
  //  {
  //   title: '物流方式',
  //   align:"center",
  //   dataIndex: 'logisticsType'
  //  },
  //  {
  //   title: '物流编号',
  //   align:"center",
  //   dataIndex: 'logisticsCode'
  //  },
  //  {
  //   title: '物流公司名称',
  //   align:"center",
  //   dataIndex: 'logisticsName'
  //  },
  //  {
  //   title: '异常原因',
  //   align:"center",
  //   dataIndex: 'badReason'
  //  },
  //  {
  //   title: '大头笔',
  //   align:"center",
  //   dataIndex: 'receiverDtb'
  //  },
  //  {
  //   title: '退款状态（0无退款1申请退款2部分退款3全部退款）',
  //   align:"center",
  //   dataIndex: 'refundStatus'
  //  },
  //  {
  //   title: '销售类型（1网店销售2线下订单3售后换货4批发业务7现款销售8分销订单）',
  //   align:"center",
  //   dataIndex: 'tradeType'
  //  },
  //  {
  //   title: '业务员编号',
  //   align:"center",
  //   dataIndex: 'salesmanNo'
  //  },
  //  {
  //   title: '业务员姓名',
  //   align:"center",
  //   dataIndex: 'fullname'
  //  },
  //  {
  //   title: '拣货员',
  //   align:"center",
  //   dataIndex: 'pickerName'
  //  },
  //  {
  //   title: '验货员',
  //   align:"center",
  //   dataIndex: 'examinerName'
  //  },
  //  {
  //   title: '发货员',
  //   align:"center",
  //   dataIndex: 'consignerName'
  //  },
  //  {
  //   title: '打单员',
  //   align:"center",
  //   dataIndex: 'printerName'
  //  },
  //  {
  //   title: '打包员',
  //   align:"center",
  //   dataIndex: 'packagerName'
  //  },
  //  {
  //   title: '订单状态',
  //   align:"center",
  //   dataIndex: 'tradeStatus'
  //  },
  //  {
  //   title: '订单编号',
  //   align:"center",
  //   dataIndex: 'tradeNo'
  //  },
  //  {
  //   title: '原始单号',
  //   align:"center",
  //   dataIndex: 'srcTradeNo'
  //  },
  //  {
  //   title: '客户网名',
  //   align:"center",
  //   dataIndex: 'nickName'
  //  },
  //  {
  //   title: '客户编码',
  //   align:"center",
  //   dataIndex: 'customerNo'
  //  },
  //  {
  //   title: '客户姓名',
  //   align:"center",
  //   dataIndex: 'customerName'
  //  },
  //  {
  //   title: '下单时间',
  //   align:"center",
  //   dataIndex: 'tradeTime'
  //  },
  //  {
  //   title: '支付时间',
  //   align:"center",
  //   dataIndex: 'payTime'
  //  },
  //  {
  //   title: '标记名称',
  //   align:"center",
  //   dataIndex: 'flagName'
  //  },
  //  {
  //   title: '邮费',
  //   align:"center",
  //   dataIndex: 'postAmount'
  //  },
  //  {
  //   title: '证件类别',
  //   align:"center",
  //   dataIndex: 'idCardType'
  //  },
  //  {
  //   title: '证件号码',
  //   align:"center",
  //   dataIndex: 'idCard'
  //  },
   {
    title: '店铺名称',
    align:"center",
    dataIndex: 'shopName'
   },
  //  {
  //   title: '店铺编码',
  //   align:"center",
  //   dataIndex: 'shopNo'
  //  },
  //  {
  //   title: '店铺备注',
  //   align:"center",
  //   dataIndex: 'shopRemark'
  //  },
  //  {
  //   title: '出库单状态',
  //   align:"center",
  //   dataIndex: 'status'
  //  },
  //  {
  //   title: '发票类型(0：不需要1：电子普通发票2：增值税普通发票3：电子增值税专用发票4：纸质普通发票5：纸质增值税专用发票)',
  //   align:"center",
  //   dataIndex: 'invoiceType'
  //  },
  //  {
  //   title: '发票id:目前只设0-1，1表示已开发票',
  //   align:"center",
  //   dataIndex: 'invoiceId'
  //  },
  //  {
  //   title: '货到付款金额',
  //   align:"center",
  //   dataIndex: 'codAmount'
  //  },
  //  {
  //   title: '发货条件',
  //   align:"center",
  //   dataIndex: 'deliveryTerm'
  //  },
  //  {
  //   title: '平台id',
  //   align:"center",
  //   dataIndex: 'platformId'
  //  },
  //  {
  //   title: '订单id',
  //   align:"center",
  //   dataIndex: 'tradeId'
  //  },
  //  {
  //   title: '审核员编号',
  //   align:"center",
  //   dataIndex: 'employeeNo'
  //  },
  //  {
  //   title: '优惠金额',
  //   align:"center",
  //   dataIndex: 'discount'
  //  },
  //  {
  //   title: '税额',
  //   align:"center",
  //   dataIndex: 'tax'
  //  },
  //  {
  //   title: '税率',
  //   align:"center",
  //   dataIndex: 'taxRate'
  //  },
  //  {
  //   title: '币种',
  //   align:"center",
  //   dataIndex: 'currency'
  //  },
  //  {
  //   title: '建单时间',
  //   align:"center",
  //   dataIndex: 'created'
  //  },
  //  {
  //   title: '审核员编号',
  //   align:"center",
  //   dataIndex: 'stockCheckTime'
  //  },
  //  {
  //   title: '打印备注',
  //   align:"center",
  //   dataIndex: 'printRemark'
  //  },
  //  {
  //   title: '买家留言',
  //   align:"center",
  //   dataIndex: 'buyerMessage'
  //  },
   {
    title: '客服备注',
    align:"center",
    dataIndex: 'csRemark'
   },
  //  {
  //   title: '发票抬头',
  //   align:"center",
  //   dataIndex: 'invoiceTitle'
  //  },
  //  {
  //   title: '发票内容',
  //   align:"center",
  //   dataIndex: 'invoiceContent'
  //  },
  //  {
  //   title: '称重预估邮资',
  //   align:"center",
  //   dataIndex: 'postFee'
  //  },
  //  {
  //   title: '包装成本',
  //   align:"center",
  //   dataIndex: 'packageFee'
  //  },
  //  {
  //   title: '已付金额',
  //   align:"center",
  //   dataIndex: 'receivable'
  //  },
  //  {
  //   title: '总成本价',
  //   align:"center",
  //   dataIndex: 'goodsTotalCost'
  //  },
  //  {
  //   title: '预估货品成本',
  //   align:"center",
  //   dataIndex: 'goodsTotalAmount'
  //  },
  //  {
  //   title: '最后修改时间',
  //   align:"center",
  //   dataIndex: 'modified'
  //  },
  //  {
  //   title: '分销商昵称',
  //   align:"center",
  //   dataIndex: 'fenxiaoNick'
  //  },
  //  {
  //   title: '订单标签',
  //   align:"center",
  //   dataIndex: 'tradeLabel'
  //  },
  //  {
  //   title: '订单来源',
  //   align:"center",
  //   dataIndex: 'tradeFrom'
  //  },
  //  {
  //   title: '分拣波次',
  //   align:"center",
  //   dataIndex: 'picklistNo'
  //  },
  //  {
  //   title: '分拣序号',
  //   align:"center",
  //   dataIndex: 'picklistSeq'
  //  },
  //  {
  //   title: '物流单打印状态（0：未打印1：打印中2：已打印3：无需打印）',
  //   align:"center",
  //   dataIndex: 'logisticsPrintStatus'
  //  },
  //  {
  //   title: '已付',
  //   align:"center",
  //   dataIndex: 'paid'
  //  },
  //  {
  //   title: '店铺平台id',
  //   align:"center",
  //   dataIndex: 'shopPlatformId'
  //  },
  //  {
  //   title: '子平台id',
  //   align:"center",
  //   dataIndex: 'subPlatformId'
  //  },
  //  {
  //   title: '接口处理错误信息',
  //   align:"center",
  //   dataIndex: 'errorInfo'
  //  },
  //  {
  //   title: '其他出库自定义子类别',
  //   align:"center",
  //   dataIndex: 'customType'
  //  },
  //  {
  //   title: '仓库类别',
  //   align:"center",
  //   dataIndex: 'warehouseType'
  //  },
  //  {
  //   title: '外部单号',
  //   align:"center",
  //   dataIndex: 'outerNo'
  //  },
  //  {
  //   title: '出库状态',
  //   align:"center",
  //   dataIndex: 'consignStatus'
  //  },
  //  {
  //   title: '货品种类数',
  //   align:"center",
  //   dataIndex: 'goodsTypeCount'
  //  },
  //  {
  //   title: '预估邮资成本',
  //   align:"center",
  //   dataIndex: 'calcPostCost'
  //  },
  //  {
  //   title: '打印批次',
  //   align:"center",
  //   dataIndex: 'batchNo'
  //  },
   {
    title: '创建时间',
    align:"center",
    dataIndex: 'createdDate'
   },
  //  {
  //   title: '分销原始单号',
  //   align:"center",
  //   dataIndex: 'fenxiaoTid'
  //  },
  //  {
  //   title: '分销商编号',
  //   align:"center",
  //   dataIndex: 'fenxiaoNickNo'
  //  },
  //  {
  //   title: '主播',
  //   align:"center",
  //   dataIndex: 'anchorName'
  //  },
  //  {
  //   title: '助播',
  //   align:"center",
  //   dataIndex: 'assistAchorName'
  //  },
  //  {
  //   title: '场控',
  //   align:"center",
  //   dataIndex: 'controlAchorName'
  //  },
  //  {
  //   title: '运营',
  //   align:"center",
  //   dataIndex: 'operationAnchorName'
  //  },
  //  {
  //   title: '拣货分组名称',
  //   align:"center",
  //   dataIndex: 'pickGroupName'
  //  },
   {
    title: '入库时间',
    align:"center",
    dataIndex: 'gmtCreate'
   },
   {
    title: '修改时间',
    align:"center",
    dataIndex: 'gmtUpdate'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
	{
      label: "出库单id",
      field: "stockoutId",
      component: 'InputNumber',
      //colProps: {span: 6},
 	},
	{
      label: "出单号",
      field: "orderNo",
      component: 'Input',
      //colProps: {span: 6},
 	},
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '客户编码',
    field: 'custCode',
    component: 'Input',
    dynamicRules: ({model,schema}) => {
          return [
                 { required: true, message: '请输入客户编码!'},
          ];
     },
  },
  {
    label: '出库单id',
    field: 'stockoutId',
    component: 'InputNumber',
    dynamicRules: ({model,schema}) => {
          return [
                 { required: true, message: '请输入出库单id!'},
          ];
     },
  },
  {
    label: '出单号',
    field: 'orderNo',
    component: 'Input',
    dynamicRules: ({model,schema}) => {
          return [
                 { required: true, message: '请输入出单号!'},
          ];
     },
  },
  {
    label: '系统订单编号',
    field: 'srcOrderNo',
    component: 'Input',
    dynamicRules: ({model,schema}) => {
          return [
                 { required: true, message: '请输入系统订单编号!'},
          ];
     },
  },
  {
    label: '仓库编号',
    field: 'warehouseNo',
    component: 'Input',
    dynamicRules: ({model,schema}) => {
          return [
                 { required: true, message: '请输入仓库编号!'},
          ];
     },
  },
  {
    label: '仓库名称',
    field: 'warehouseName',
    component: 'Input',
    dynamicRules: ({model,schema}) => {
          return [
                 { required: true, message: '请输入仓库名称!'},
          ];
     },
  },
  {
    label: '发货时间',
    field: 'consignTime',
    component: 'Input',
  },
  {
    label: '源单据类别',
    field: 'orderType',
    component: 'InputNumber',
  },
  {
    label: '货品数量',
    field: 'goodsCount',
    component: 'InputNumber',
  },
  {
    label: '物流单号',
    field: 'logisticsNo',
    component: 'Input',
  },
  {
    label: 'receiverName',
    field: 'receiverName',
    component: 'Input',
  },
  {
    label: '国家',
    field: 'receiverCountry',
    component: 'InputNumber',
  },
  {
    label: '省份ID',
    field: 'receiverProvince',
    component: 'InputNumber',
  },
  {
    label: '城市ID',
    field: 'receiverCity',
    component: 'InputNumber',
  },
  {
    label: '地区ID',
    field: 'receiverDistrict',
    component: 'InputNumber',
  },
  {
    label: '地址',
    field: 'receiverAddress',
    component: 'Input',
  },
  {
    label: '收件人手机',
    field: 'receiverMobile',
    component: 'Input',
  },
  {
    label: '收件人固话',
    field: 'receiverTelno',
    component: 'Input',
  },
  {
    label: '收件人邮编',
    field: 'receiverZip',
    component: 'Input',
  },
  {
    label: '省市区',
    field: 'receiverArea',
    component: 'Input',
  },
  {
    label: '备注',
    field: 'remark',
    component: 'Input',
  },
  {
    label: '重量',
    field: 'weight',
    component: 'InputNumber',
  },
  {
    label: '截停原因',
    field: 'blockReason',
    component: 'InputNumber',
  },
  {
    label: '物流方式',
    field: 'logisticsType',
    component: 'InputNumber',
  },
  {
    label: '物流编号',
    field: 'logisticsCode',
    component: 'Input',
  },
  {
    label: '物流公司名称',
    field: 'logisticsName',
    component: 'Input',
  },
  {
    label: '异常原因',
    field: 'badReason',
    component: 'InputNumber',
  },
  {
    label: '大头笔',
    field: 'receiverDtb',
    component: 'Input',
  },
  {
    label: '退款状态（0无退款1申请退款2部分退款3全部退款）',
    field: 'refundStatus',
    component: 'InputNumber',
  },
  {
    label: '销售类型（1网店销售2线下订单3售后换货4批发业务7现款销售8分销订单）',
    field: 'tradeType',
    component: 'InputNumber',
  },
  {
    label: '业务员编号',
    field: 'salesmanNo',
    component: 'Input',
  },
  {
    label: '业务员姓名',
    field: 'fullname',
    component: 'Input',
  },
  {
    label: '拣货员',
    field: 'pickerName',
    component: 'Input',
  },
  {
    label: '验货员',
    field: 'examinerName',
    component: 'Input',
  },
  {
    label: '发货员',
    field: 'consignerName',
    component: 'Input',
  },
  {
    label: '打单员',
    field: 'printerName',
    component: 'Input',
  },
  {
    label: '打包员',
    field: 'packagerName',
    component: 'Input',
  },
  {
    label: '订单状态',
    field: 'tradeStatus',
    component: 'InputNumber',
  },
  {
    label: '订单编号',
    field: 'tradeNo',
    component: 'Input',
  },
  {
    label: '原始单号',
    field: 'srcTradeNo',
    component: 'Input',
  },
  {
    label: '客户网名',
    field: 'nickName',
    component: 'Input',
  },
  {
    label: '客户编码',
    field: 'customerNo',
    component: 'Input',
  },
  {
    label: '客户姓名',
    field: 'customerName',
    component: 'Input',
  },
  {
    label: '下单时间',
    field: 'tradeTime',
    component: 'Input',
  },
  {
    label: '支付时间',
    field: 'payTime',
    component: 'Input',
  },
  {
    label: '标记名称',
    field: 'flagName',
    component: 'Input',
  },
  {
    label: '邮费',
    field: 'postAmount',
    component: 'InputNumber',
  },
  {
    label: '证件类别',
    field: 'idCardType',
    component: 'InputNumber',
  },
  {
    label: '证件号码',
    field: 'idCard',
    component: 'Input',
  },
  {
    label: '店铺名称',
    field: 'shopName',
    component: 'Input',
  },
  {
    label: '店铺编码',
    field: 'shopNo',
    component: 'Input',
  },
  {
    label: '店铺备注',
    field: 'shopRemark',
    component: 'Input',
  },
  {
    label: '出库单状态',
    field: 'status',
    component: 'InputNumber',
  },
  {
    label: '发票类型(0：不需要1：电子普通发票2：增值税普通发票3：电子增值税专用发票4：纸质普通发票5：纸质增值税专用发票)',
    field: 'invoiceType',
    component: 'InputNumber',
  },
  {
    label: '发票id:目前只设0-1，1表示已开发票',
    field: 'invoiceId',
    component: 'InputNumber',
  },
  {
    label: '货到付款金额',
    field: 'codAmount',
    component: 'InputNumber',
  },
  {
    label: '发货条件',
    field: 'deliveryTerm',
    component: 'InputNumber',
  },
  {
    label: '平台id',
    field: 'platformId',
    component: 'InputNumber',
  },
  {
    label: '订单id',
    field: 'tradeId',
    component: 'InputNumber',
  },
  {
    label: '审核员编号',
    field: 'employeeNo',
    component: 'Input',
  },
  {
    label: '优惠金额',
    field: 'discount',
    component: 'InputNumber',
  },
  {
    label: '税额',
    field: 'tax',
    component: 'InputNumber',
  },
  {
    label: '税率',
    field: 'taxRate',
    component: 'InputNumber',
  },
  {
    label: '币种',
    field: 'currency',
    component: 'Input',
  },
  {
    label: '建单时间',
    field: 'created',
    component: 'Input',
  },
  {
    label: '审核员编号',
    field: 'stockCheckTime',
    component: 'Input',
  },
  {
    label: '打印备注',
    field: 'printRemark',
    component: 'Input',
  },
  {
    label: '买家留言',
    field: 'buyerMessage',
    component: 'Input',
  },
  {
    label: '客服备注',
    field: 'csRemark',
    component: 'Input',
  },
  {
    label: '发票抬头',
    field: 'invoiceTitle',
    component: 'Input',
  },
  {
    label: '发票内容',
    field: 'invoiceContent',
    component: 'Input',
  },
  {
    label: '称重预估邮资',
    field: 'postFee',
    component: 'InputNumber',
  },
  {
    label: '包装成本',
    field: 'packageFee',
    component: 'InputNumber',
  },
  {
    label: '已付金额',
    field: 'receivable',
    component: 'InputNumber',
  },
  {
    label: '总成本价',
    field: 'goodsTotalCost',
    component: 'InputNumber',
  },
  {
    label: '预估货品成本',
    field: 'goodsTotalAmount',
    component: 'InputNumber',
  },
  {
    label: '最后修改时间',
    field: 'modified',
    component: 'Input',
  },
  {
    label: '分销商昵称',
    field: 'fenxiaoNick',
    component: 'Input',
  },
  {
    label: '订单标签',
    field: 'tradeLabel',
    component: 'Input',
  },
  {
    label: '订单来源',
    field: 'tradeFrom',
    component: 'InputNumber',
  },
  {
    label: '分拣波次',
    field: 'picklistNo',
    component: 'Input',
  },
  {
    label: '分拣序号',
    field: 'picklistSeq',
    component: 'InputNumber',
  },
  {
    label: '物流单打印状态（0：未打印1：打印中2：已打印3：无需打印）',
    field: 'logisticsPrintStatus',
    component: 'InputNumber',
  },
  {
    label: '已付',
    field: 'paid',
    component: 'InputNumber',
  },
  {
    label: '店铺平台id',
    field: 'shopPlatformId',
    component: 'InputNumber',
  },
  {
    label: '子平台id',
    field: 'subPlatformId',
    component: 'InputNumber',
  },
  {
    label: '接口处理错误信息',
    field: 'errorInfo',
    component: 'Input',
  },
  {
    label: '其他出库自定义子类别',
    field: 'customType',
    component: 'InputNumber',
  },
  {
    label: '仓库类别',
    field: 'warehouseType',
    component: 'InputNumber',
  },
  {
    label: '外部单号',
    field: 'outerNo',
    component: 'Input',
  },
  {
    label: '出库状态',
    field: 'consignStatus',
    component: 'InputNumber',
  },
  {
    label: '货品种类数',
    field: 'goodsTypeCount',
    component: 'InputNumber',
  },
  {
    label: '预估邮资成本',
    field: 'calcPostCost',
    component: 'InputNumber',
  },
  {
    label: '打印批次',
    field: 'batchNo',
    component: 'Input',
  },
  {
    label: '创建时间',
    field: 'createdDate',
    component: 'Input',
  },
  {
    label: '分销原始单号',
    field: 'fenxiaoTid',
    component: 'Input',
  },
  {
    label: '分销商编号',
    field: 'fenxiaoNickNo',
    component: 'Input',
  },
  {
    label: '主播',
    field: 'anchorName',
    component: 'Input',
  },
  {
    label: '助播',
    field: 'assistAchorName',
    component: 'Input',
  },
  {
    label: '场控',
    field: 'controlAchorName',
    component: 'Input',
  },
  {
    label: '运营',
    field: 'operationAnchorName',
    component: 'Input',
  },
  {
    label: '拣货分组名称',
    field: 'pickGroupName',
    component: 'Input',
  },
  {
    label: '入库时间',
    field: 'gmtCreate',
    component: 'DatePicker',
    componentProps: {
       showTime:true,
       valueFormat: 'YYYY-MM-DD HH:mm:ss'
     },
    dynamicRules: ({model,schema}) => {
          return [
                 { required: true, message: '请输入入库时间!'},
          ];
     },
  },
  {
    label: '修改时间',
    field: 'gmtUpdate',
    component: 'DatePicker',
    componentProps: {
       showTime:true,
       valueFormat: 'YYYY-MM-DD HH:mm:ss'
     },
    dynamicRules: ({model,schema}) => {
          return [
                 { required: true, message: '请输入修改时间!'},
          ];
     },
  },
	// TODO 主键隐藏字段，目前写死为ID
	{
	  label: '',
	  field: 'id',
	  component: 'Input',
	  show: false
	},
];
//子表单数据
//子表表格配置
export const ffSaleStockoutOrderDetailColumns: JVxeColumn[] = [
    {
      title: '客户编码',
      key: 'custCode',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '出库单id',
      key: 'stockoutId',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '出库单详情id',
      key: 'recId',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '订单明细id',
      key: 'srcOrderDetailId',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '出单号',
      key: 'orderNo',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '商家编码',
      key: 'specNo',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '货品数量',
      key: 'goodsCount',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '总成本',
      key: 'totalAmount',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '成交价',
      key: 'sellPrice',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '出库单明细备注',
      key: 'remark',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '货品名称',
      key: 'goodsName',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品编码',
      key: 'goodsNo',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '规格名称',
      key: 'specName',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '规格码',
      key: 'specCode',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品成本',
      key: 'costPrice',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '总重量',
      key: 'weight',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '自定义属性1',
      key: 'prop1',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '自定义属性2',
      key: 'prop2',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '自定义属性3',
      key: 'prop3',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '自定义属性4',
      key: 'prop4',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '自定义属性5',
      key: 'prop5',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '自定义属性6',
      key: 'prop6',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '平台id',
      key: 'platformId',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '退款状态（0无退款1取消退款,2已申请退款3等待退货4等待收货5退款成功）',
      key: 'refundStatus',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '单价/货品原单价',
      key: 'marketPrice',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品总优惠',
      key: 'discount',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品成交价',
      key: 'sharePrice',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '总货款/货品成交总价',
      key: 'shareAmount',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '税额',
      key: 'taxRate',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '主条码',
      key: 'barcode',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '单位名称',
      key: 'unitName',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '订单货品(子订单)id',
      key: 'saleOrderId',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '是否是赠品（0非赠品1自动赠送2手工赠送4周期购赠送8平台赠送）',
      key: 'giftType',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '原始子订单号',
      key: 'srcOid',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '原始订单号',
      key: 'srcTid',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '订单内部来源（1手机2聚划算）',
      key: 'fromMask',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品类型:0：其它1：销售货品2：原材料3：包装物4：周转材料5：虚拟商品6：固定资产8：分装箱',
      key: 'goodsType',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品自定义属性1',
      key: 'goodProp1',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品自定义属性2',
      key: 'goodProp2',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品自定义属性3',
      key: 'goodProp3',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品自定义属性4',
      key: 'goodProp4',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品自定义属性5',
      key: 'goodProp5',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品自定义属性6',
      key: 'goodProp6',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: 'sn_list',
      key: 'snList',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '组合装编码',
      key: 'suiteNo',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '分摊邮费',
      key: 'sharePostAmount',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '已付',
      key: 'paid',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '是否包装（是:1 否:0）',
      key: 'isPackage',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '品牌编号',
      key: 'brandNo',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '品牌名称',
      key: 'brandName',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '源单据类型',
      key: 'srcOrderType',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '单位换算',
      key: 'unitRatio',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '辅助数量',
      key: 'num2',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '货品数量',
      key: 'num',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '有效期',
      key: 'expireDate',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '扫描方式',
      key: 'scanType',
      type: JVxeTypes.inputNumber,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '分类名称',
      key: 'className',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '创建时间',
      key: 'createdDate',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '最后修改时间',
      key: 'modifiedDate',
      type: JVxeTypes.input,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
    },
    {
      title: '入库时间',
      key: 'gmtCreate',
      type: JVxeTypes.datetime,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
    {
      title: '修改时间',
      key: 'gmtUpdate',
      type: JVxeTypes.datetime,
      width:"200px",
      placeholder: '请输入${title}',
      defaultValue:'',
        validateRules: [
          { required: true, message: '${title}不能为空' },
        ],
    },
  ]


// 高级查询数据
export const superQuerySchema = {
  custCode: {title: '客户编码',order: 0,view: 'text', type: 'string',},
  stockoutId: {title: '出库单id',order: 1,view: 'number', type: 'number',},
  orderNo: {title: '出单号',order: 2,view: 'text', type: 'string',},
  srcOrderNo: {title: '系统订单编号',order: 3,view: 'text', type: 'string',},
  warehouseNo: {title: '仓库编号',order: 4,view: 'text', type: 'string',},
  warehouseName: {title: '仓库名称',order: 5,view: 'text', type: 'string',},
  consignTime: {title: '发货时间',order: 6,view: 'text', type: 'string',},
  orderType: {title: '源单据类别',order: 7,view: 'number', type: 'number',},
  goodsCount: {title: '货品数量',order: 8,view: 'number', type: 'number',},
  logisticsNo: {title: '物流单号',order: 9,view: 'text', type: 'string',},
  receiverName: {title: 'receiverName',order: 10,view: 'text', type: 'string',},
  receiverCountry: {title: '国家',order: 11,view: 'number', type: 'number',},
  receiverProvince: {title: '省份ID',order: 12,view: 'number', type: 'number',},
  receiverCity: {title: '城市ID',order: 13,view: 'number', type: 'number',},
  receiverDistrict: {title: '地区ID',order: 14,view: 'number', type: 'number',},
  receiverAddress: {title: '地址',order: 15,view: 'text', type: 'string',},
  receiverMobile: {title: '收件人手机',order: 16,view: 'text', type: 'string',},
  receiverTelno: {title: '收件人固话',order: 17,view: 'text', type: 'string',},
  receiverZip: {title: '收件人邮编',order: 18,view: 'text', type: 'string',},
  receiverArea: {title: '省市区',order: 19,view: 'text', type: 'string',},
  remark: {title: '备注',order: 20,view: 'text', type: 'string',},
  weight: {title: '重量',order: 21,view: 'number', type: 'number',},
  blockReason: {title: '截停原因',order: 22,view: 'number', type: 'number',},
  logisticsType: {title: '物流方式',order: 23,view: 'number', type: 'number',},
  logisticsCode: {title: '物流编号',order: 24,view: 'text', type: 'string',},
  logisticsName: {title: '物流公司名称',order: 25,view: 'text', type: 'string',},
  badReason: {title: '异常原因',order: 26,view: 'number', type: 'number',},
  receiverDtb: {title: '大头笔',order: 27,view: 'text', type: 'string',},
  refundStatus: {title: '退款状态（0无退款1申请退款2部分退款3全部退款）',order: 28,view: 'number', type: 'number',},
  tradeType: {title: '销售类型（1网店销售2线下订单3售后换货4批发业务7现款销售8分销订单）',order: 29,view: 'number', type: 'number',},
  salesmanNo: {title: '业务员编号',order: 30,view: 'text', type: 'string',},
  fullname: {title: '业务员姓名',order: 31,view: 'text', type: 'string',},
  pickerName: {title: '拣货员',order: 32,view: 'text', type: 'string',},
  examinerName: {title: '验货员',order: 33,view: 'text', type: 'string',},
  consignerName: {title: '发货员',order: 34,view: 'text', type: 'string',},
  printerName: {title: '打单员',order: 35,view: 'text', type: 'string',},
  packagerName: {title: '打包员',order: 36,view: 'text', type: 'string',},
  tradeStatus: {title: '订单状态',order: 37,view: 'number', type: 'number',},
  tradeNo: {title: '订单编号',order: 38,view: 'text', type: 'string',},
  srcTradeNo: {title: '原始单号',order: 39,view: 'text', type: 'string',},
  nickName: {title: '客户网名',order: 40,view: 'text', type: 'string',},
  customerNo: {title: '客户编码',order: 41,view: 'text', type: 'string',},
  customerName: {title: '客户姓名',order: 42,view: 'text', type: 'string',},
  tradeTime: {title: '下单时间',order: 43,view: 'text', type: 'string',},
  payTime: {title: '支付时间',order: 44,view: 'text', type: 'string',},
  flagName: {title: '标记名称',order: 45,view: 'text', type: 'string',},
  postAmount: {title: '邮费',order: 46,view: 'number', type: 'number',},
  idCardType: {title: '证件类别',order: 47,view: 'number', type: 'number',},
  idCard: {title: '证件号码',order: 48,view: 'text', type: 'string',},
  shopName: {title: '店铺名称',order: 49,view: 'text', type: 'string',},
  shopNo: {title: '店铺编码',order: 50,view: 'text', type: 'string',},
  shopRemark: {title: '店铺备注',order: 51,view: 'text', type: 'string',},
  status: {title: '出库单状态',order: 52,view: 'number', type: 'number',},
  invoiceType: {title: '发票类型(0：不需要1：电子普通发票2：增值税普通发票3：电子增值税专用发票4：纸质普通发票5：纸质增值税专用发票)',order: 53,view: 'number', type: 'number',},
  invoiceId: {title: '发票id:目前只设0-1，1表示已开发票',order: 54,view: 'number', type: 'number',},
  codAmount: {title: '货到付款金额',order: 55,view: 'number', type: 'number',},
  deliveryTerm: {title: '发货条件',order: 56,view: 'number', type: 'number',},
  platformId: {title: '平台id',order: 57,view: 'number', type: 'number',},
  tradeId: {title: '订单id',order: 58,view: 'number', type: 'number',},
  employeeNo: {title: '审核员编号',order: 59,view: 'text', type: 'string',},
  discount: {title: '优惠金额',order: 60,view: 'number', type: 'number',},
  tax: {title: '税额',order: 61,view: 'number', type: 'number',},
  taxRate: {title: '税率',order: 62,view: 'number', type: 'number',},
  currency: {title: '币种',order: 63,view: 'text', type: 'string',},
  created: {title: '建单时间',order: 64,view: 'text', type: 'string',},
  stockCheckTime: {title: '审核员编号',order: 65,view: 'text', type: 'string',},
  printRemark: {title: '打印备注',order: 66,view: 'text', type: 'string',},
  buyerMessage: {title: '买家留言',order: 67,view: 'text', type: 'string',},
  csRemark: {title: '客服备注',order: 68,view: 'text', type: 'string',},
  invoiceTitle: {title: '发票抬头',order: 69,view: 'text', type: 'string',},
  invoiceContent: {title: '发票内容',order: 70,view: 'text', type: 'string',},
  postFee: {title: '称重预估邮资',order: 71,view: 'number', type: 'number',},
  packageFee: {title: '包装成本',order: 72,view: 'number', type: 'number',},
  receivable: {title: '已付金额',order: 73,view: 'number', type: 'number',},
  goodsTotalCost: {title: '总成本价',order: 74,view: 'number', type: 'number',},
  goodsTotalAmount: {title: '预估货品成本',order: 75,view: 'number', type: 'number',},
  modified: {title: '最后修改时间',order: 76,view: 'text', type: 'string',},
  fenxiaoNick: {title: '分销商昵称',order: 77,view: 'text', type: 'string',},
  tradeLabel: {title: '订单标签',order: 78,view: 'text', type: 'string',},
  tradeFrom: {title: '订单来源',order: 79,view: 'number', type: 'number',},
  picklistNo: {title: '分拣波次',order: 80,view: 'text', type: 'string',},
  picklistSeq: {title: '分拣序号',order: 81,view: 'number', type: 'number',},
  logisticsPrintStatus: {title: '物流单打印状态（0：未打印1：打印中2：已打印3：无需打印）',order: 82,view: 'number', type: 'number',},
  paid: {title: '已付',order: 83,view: 'number', type: 'number',},
  shopPlatformId: {title: '店铺平台id',order: 84,view: 'number', type: 'number',},
  subPlatformId: {title: '子平台id',order: 85,view: 'number', type: 'number',},
  errorInfo: {title: '接口处理错误信息',order: 86,view: 'text', type: 'string',},
  customType: {title: '其他出库自定义子类别',order: 87,view: 'number', type: 'number',},
  warehouseType: {title: '仓库类别',order: 88,view: 'number', type: 'number',},
  outerNo: {title: '外部单号',order: 89,view: 'text', type: 'string',},
  consignStatus: {title: '出库状态',order: 90,view: 'number', type: 'number',},
  goodsTypeCount: {title: '货品种类数',order: 91,view: 'number', type: 'number',},
  calcPostCost: {title: '预估邮资成本',order: 92,view: 'number', type: 'number',},
  batchNo: {title: '打印批次',order: 93,view: 'text', type: 'string',},
  createdDate: {title: '创建时间',order: 94,view: 'text', type: 'string',},
  fenxiaoTid: {title: '分销原始单号',order: 95,view: 'text', type: 'string',},
  fenxiaoNickNo: {title: '分销商编号',order: 96,view: 'text', type: 'string',},
  anchorName: {title: '主播',order: 97,view: 'text', type: 'string',},
  assistAchorName: {title: '助播',order: 98,view: 'text', type: 'string',},
  controlAchorName: {title: '场控',order: 99,view: 'text', type: 'string',},
  operationAnchorName: {title: '运营',order: 100,view: 'text', type: 'string',},
  pickGroupName: {title: '拣货分组名称',order: 101,view: 'text', type: 'string',},
  gmtCreate: {title: '入库时间',order: 102,view: 'datetime', type: 'string',},
  gmtUpdate: {title: '修改时间',order: 103,view: 'datetime', type: 'string',},
  //子表高级查询
  ffSaleStockoutOrderDetail: {
    title: '销售出库单明细',
    view: 'table',
    fields: {
        custCode: {title: '客户编码',order: 0,view: 'text', type: 'string',},
        stockoutId: {title: '出库单id',order: 1,view: 'number', type: 'number',},
        recId: {title: '出库单详情id',order: 2,view: 'number', type: 'number',},
        srcOrderDetailId: {title: '订单明细id',order: 3,view: 'number', type: 'number',},
        orderNo: {title: '出单号',order: 4,view: 'text', type: 'string',},
        specNo: {title: '商家编码',order: 5,view: 'text', type: 'string',},
        goodsCount: {title: '货品数量',order: 6,view: 'number', type: 'number',},
        totalAmount: {title: '总成本',order: 7,view: 'number', type: 'number',},
        sellPrice: {title: '成交价',order: 8,view: 'number', type: 'number',},
        remark: {title: '出库单明细备注',order: 9,view: 'text', type: 'string',},
        goodsName: {title: '货品名称',order: 10,view: 'text', type: 'string',},
        goodsNo: {title: '货品编码',order: 11,view: 'text', type: 'string',},
        specName: {title: '规格名称',order: 12,view: 'text', type: 'string',},
        specCode: {title: '规格码',order: 13,view: 'text', type: 'string',},
        costPrice: {title: '货品成本',order: 14,view: 'number', type: 'number',},
        weight: {title: '总重量',order: 15,view: 'number', type: 'number',},
        prop1: {title: '自定义属性1',order: 16,view: 'text', type: 'string',},
        prop2: {title: '自定义属性2',order: 17,view: 'text', type: 'string',},
        prop3: {title: '自定义属性3',order: 18,view: 'text', type: 'string',},
        prop4: {title: '自定义属性4',order: 19,view: 'text', type: 'string',},
        prop5: {title: '自定义属性5',order: 20,view: 'text', type: 'string',},
        prop6: {title: '自定义属性6',order: 21,view: 'text', type: 'string',},
        platformId: {title: '平台id',order: 22,view: 'number', type: 'number',},
        refundStatus: {title: '退款状态（0无退款1取消退款,2已申请退款3等待退货4等待收货5退款成功）',order: 23,view: 'number', type: 'number',},
        marketPrice: {title: '单价/货品原单价',order: 24,view: 'number', type: 'number',},
        discount: {title: '货品总优惠',order: 25,view: 'number', type: 'number',},
        sharePrice: {title: '货品成交价',order: 26,view: 'number', type: 'number',},
        shareAmount: {title: '总货款/货品成交总价',order: 27,view: 'number', type: 'number',},
        taxRate: {title: '税额',order: 28,view: 'number', type: 'number',},
        barcode: {title: '主条码',order: 29,view: 'text', type: 'string',},
        unitName: {title: '单位名称',order: 30,view: 'text', type: 'string',},
        saleOrderId: {title: '订单货品(子订单)id',order: 31,view: 'number', type: 'number',},
        giftType: {title: '是否是赠品（0非赠品1自动赠送2手工赠送4周期购赠送8平台赠送）',order: 32,view: 'number', type: 'number',},
        srcOid: {title: '原始子订单号',order: 33,view: 'text', type: 'string',},
        srcTid: {title: '原始订单号',order: 34,view: 'text', type: 'string',},
        fromMask: {title: '订单内部来源（1手机2聚划算）',order: 35,view: 'number', type: 'number',},
        goodsType: {title: '货品类型:0：其它1：销售货品2：原材料3：包装物4：周转材料5：虚拟商品6：固定资产8：分装箱',order: 36,view: 'number', type: 'number',},
        goodProp1: {title: '货品自定义属性1',order: 37,view: 'text', type: 'string',},
        goodProp2: {title: '货品自定义属性2',order: 38,view: 'text', type: 'string',},
        goodProp3: {title: '货品自定义属性3',order: 39,view: 'text', type: 'string',},
        goodProp4: {title: '货品自定义属性4',order: 40,view: 'text', type: 'string',},
        goodProp5: {title: '货品自定义属性5',order: 41,view: 'text', type: 'string',},
        goodProp6: {title: '货品自定义属性6',order: 42,view: 'text', type: 'string',},
        snList: {title: 'sn_list',order: 43,view: 'text', type: 'string',},
        suiteNo: {title: '组合装编码',order: 44,view: 'text', type: 'string',},
        sharePostAmount: {title: '分摊邮费',order: 45,view: 'number', type: 'number',},
        paid: {title: '已付',order: 46,view: 'number', type: 'number',},
        isPackage: {title: '是否包装（是:1 否:0）',order: 47,view: 'number', type: 'number',},
        brandNo: {title: '品牌编号',order: 48,view: 'text', type: 'string',},
        brandName: {title: '品牌名称',order: 49,view: 'text', type: 'string',},
        srcOrderType: {title: '源单据类型',order: 50,view: 'number', type: 'number',},
        unitRatio: {title: '单位换算',order: 51,view: 'number', type: 'number',},
        num2: {title: '辅助数量',order: 52,view: 'number', type: 'number',},
        num: {title: '货品数量',order: 53,view: 'number', type: 'number',},
        expireDate: {title: '有效期',order: 54,view: 'text', type: 'string',},
        scanType: {title: '扫描方式',order: 55,view: 'number', type: 'number',},
        className: {title: '分类名称',order: 56,view: 'text', type: 'string',},
        createdDate: {title: '创建时间',order: 57,view: 'text', type: 'string',},
        modifiedDate: {title: '最后修改时间',order: 58,view: 'text', type: 'string',},
        gmtCreate: {title: '入库时间',order: 59,view: 'datetime', type: 'string',},
        gmtUpdate: {title: '修改时间',order: 60,view: 'datetime', type: 'string',},
    }
  },
};

/**
* 流程表单调用这个方法获取formSchema
* @param param
*/
export function getBpmFormSchema(_formData): FormSchema[]{
// 默认和原始表单保持一致 如果流程中配置了权限数据，这里需要单独处理formSchema
  return formSchema;
}